﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace DTO
{
	[DataContract]
	public class Groupchat {
		public const String c_id = "id";
		private Int64 m_id = 0;
		[Key]
		[DataMember]
		public Int64  id { 
			 get {return m_id;} 
			 set { m_id = value; } 
		}

		public const String c_user_ids = "user_ids";
		private String m_user_ids = "";
		[DataMember]
		public String  user_ids { 
			 get {return m_user_ids;} 
			 set { m_user_ids = value; } 
		}

		public const String c_contents = "contents";
		private String m_contents = "";
		[DataMember]
		public String  contents { 
			 get {return m_contents;} 
			 set { m_contents = value; } 
		}

		public const String c_createdate = "createdate";
		private DateTime m_createdate = DateTime.UtcNow;
		[DataMember]
		public DateTime  createdate { 
			 get {return m_createdate;} 
			 set { m_createdate = value; } 
		}

		public const String c_userid_send = "userid_send";
		private Int64 m_userid_send = 0;
		[DataMember]
		public Int64  userid_send { 
			 get {return m_userid_send;} 
			 set { m_userid_send = value; } 
		}

		public const String c_group_name = "group_name";
		private String m_group_name = "";
		[DataMember]
		public String  group_name { 
			 get {return m_group_name;} 
			 set { m_group_name = value; } 
		}

		public const String b_Groupchat = "Groupchat";

	}

 }
